/*
 * SASettingslistView.h
 *
 *  Created on: 2010-06-04
 *      Author: NONO
 */

#ifndef __SASETTINGSLISTVIEW_H__
#define __SASETTINGSLISTVIEW_H__

// includes
#include <aknview.h>

// Forward Declarations
class CSASettingslistContainer;

// Class Declaration

/*!
 * 
 */
class CSASettingslistView : public CAknView
{
public:
    /**
    * EPOC default constructor.
    */
    void ConstructL();

    /**
    * Destructor.
    */
    ~CSASettingslistView();
    
public: // Functions from base classes
                    
    /**
    * From CAknView returns Uid of View
    * @return TUid uid of the view
    */
    TUid Id() const;

    /**
    * From MEikMenuObserver delegate commands from the menu
    * @param aCommand a command emitted by the menu 
    * @return void
    */
    void HandleCommandL(TInt aCommand);

    /**
    * From CAknView reaction if size change
    * @return void
    */
    void HandleClientRectChange();
    
private:

    /**
    * From CAknView activate the view
    * @param aPrevViewId 
    * @param aCustomMessageId 
    * @param aCustomMessage 
    * @return void
    */
    void DoActivateL(const TVwsViewId& aPrevViewId,TUid aCustomMessageId,
        const TDesC8& aCustomMessage);

    /**
    * From CAknView deactivate the view (free resources)
    * @return void
    */
    void DoDeactivate();
    
private:    // From MEikMenuObserver
    
    void DynInitMenuPaneL(TInt aResourceId,CEikMenuPane* aMenuPane);


private: // Data
    CSASettingslistContainer* iContainer;
};
#endif /* __SASETTINGSLISTVIEW_H__ */
